﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo02
{
    class Cat : Animal, Tree
    {
        public override void Eat()
        {
            Console.WriteLine("我吃猫粮");
        }

        public void Tree()
        {
            Console.WriteLine("我会爬树");
        }
    }
}
